/*
 * @Description:
 * @Author:
 * @Date: 2024-12-07 09:16:54
 * @LastEditTime: 2025-02-16 21:06:09
 * @LastEditors: XXX
 */
import { getToken } from '@/utils/cookies'

export interface UserState {
  token: string,
  roles: string[],
  avatar: string,
  introduction: string,
  email: string,
  name: string
}

export const state: UserState = {
  token: getToken() || '',
  roles: [],
  avatar: '',
  introduction: '',
  email: '',
  name: ''
}
